#ifndef TAH_H
#define TAH_H
#include <QDataStream>
#include <Q_UINT16>

class Tah
{
private:
    quint16 * x;
    quint16 * y;
public:
    Tah();

    Tah(quint16 x, quint16 y);
    Tah(const Tah &other);
    Tah(QDataStream &in);
    ~Tah();
    quint16 * getX();
    quint16 * getY();
    bool operator== ( const Tah & other ) const;
    void serialize(QDataStream &ost);
    void unserialize(QDataStream &in);
    QDataStream &operator<<(QDataStream &out);
    QDataStream &operator>>(QDataStream &in);

};

#endif // TAH_H
